package com.wt.admin.mapper.image;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wt.admin.domain.dto.image.ImageFeaturesDTO;
import com.wt.admin.domain.dto.image.ImageItemDTO;
import com.wt.admin.domain.entity.image.ImageClassificationEntity;
import com.wt.admin.domain.entity.image.ImageFeaturesEntity;
import com.wt.admin.domain.vo.image.ImageFeaturesVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ImageFeaturesMapper extends BaseMapper<ImageFeaturesEntity> {

    IPage<ImageFeaturesVO> page(Page<ImageFeaturesDTO> page,@Param("data") ImageFeaturesDTO data);

    List<ImageFeaturesVO> featuresListByLanguageClassificationId(@Param("data") ImageItemDTO data);
}
